/**
 * 
 */
package com.personal.Visualplan.entity;

/**
 * <p> Project name:Visualplan </p>
 * <p> Class name:TestEntity </p>
 * @author "JiHongru"
 * @version
 * @date 2020年3月1日下午6:06:01
 * @description   该层放置涉及到的实体类
 *
 */
public class TestEntity {
	
	private int id;
	
	public TestEntity(int id){
		this.id = id;
	}

	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}

	@Override
	public String toString() {
		return "TestEntity [id=" + id + "]";
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + id;
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		TestEntity other = (TestEntity) obj;
		if (id != other.id)
			return false;
		return true;
	}
	
	

}
